﻿<%@ Page Language="C#" AutoEventWireup="true" Codebehind="Home.aspx.cs" Inherits="LabMS.Web.Home" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>城环学院实验室管理系统 - 首页</title>
    <link type="text/css" rel="stylesheet" href="style/screen.css" />
    <link type="text/css" rel="stylesheet" href="style/home.css" />
    <!--[if lte IE 6]>
    <link type="text/css" rel="stylesheet" href="style/ie6.css" />
    <![endif]-->
    <!--[if lte IE 7]>
    <link type="text/css" rel="stylesheet" href="style/ie7.css" />
    <![endif]-->
</head>
<body>
    <div id="site">
        <table cellpadding="0" cellspacing="0" border="0" height="100%" width="100%">
            <tr>
                <td style="width: 8px; height: 100%; background-color: #353c44;">
                </td>
                <td height="100%">
                    <table cellpadding="0" cellspacing="0" border="0" height="100%" width="100%" style="background-color: #ffffff;">
                        <tr valign="top">
                            <td>
                                <div id="home" class="clearfix">
                                    <div class="item">
                                        <div class="header">
                                            最新通知
                                        </div>
                                        <div class="content">
                                            <ul>
                                                <asp:Repeater ID="RepeaterNotices" runat="server">
                                                    <ItemTemplate>
                                                        <li>
                                                            <asp:HyperLink ToolTip='<%# DataBinder.Eval(Container.DataItem,"AnnouncementTitle") %>'
                                                                Text='<%# DataBinder.Eval(Container.DataItem,"AnnouncementTitle") %>'
                                                                NavigateUrl='<%# GetStuctureName() + "/DailyOffice.aspx?postUrl=" + Server.UrlEncode("../Notice/Detail.aspx?id=") + DataBinder.Eval(Container.DataItem,"key") %>'
                                                                runat="server"></asp:HyperLink>
                                                        </li>
                                                    </ItemTemplate>
                                                </asp:Repeater>
                                            </ul>
                                        </div>
                                    </div>
                                    <div class="item">
                                        <div class="header">
                                            最新资源
                                        </div>
                                        <div class="content">
                                            <ul>
                                                <asp:Repeater ID="RepeaterResources" runat="server">
                                                    <ItemTemplate>
                                                        <li>
                                                            <asp:HyperLink ToolTip='<%# DataBinder.Eval(Container.DataItem,"ResourceTitle") %>' Text='<%# DataBinder.Eval(Container.DataItem,"ResourceTitle") %>'
                                                                NavigateUrl='<%# GetStuctureName() + "/DailyOffice.aspx?postUrl=" + Server.UrlEncode("../Resource/Detail.aspx?id=") + DataBinder.Eval(Container.DataItem,"id") %>' runat="server"></asp:HyperLink>
                                                        </li>
                                                    </ItemTemplate>
                                                </asp:Repeater>
                                            </ul>
                                        </div>
                                    </div>
                                    <div class="item">
                                        <div class="header">
                                            论坛新贴
                                        </div>
                                        <div class="content">
                                            <ul>
                                                <asp:Repeater ID="RepeaterPosts" runat="server">
                                                    <ItemTemplate>
                                                        <li>
                                                            <asp:HyperLink ToolTip='<%# DataBinder.Eval(Container.DataItem,"PostTitle") %>' Text='<%# DataBinder.Eval(Container.DataItem,"PostTitle") %>'
                                                                NavigateUrl='<%# GetStuctureName() + "/DailyOffice.aspx?postUrl=" + Server.UrlEncode("../Post/BBS/Detail.aspx?postID=") + DataBinder.Eval(Container.DataItem,"ID") %>' runat="server"></asp:HyperLink>
                                                        </li>
                                                    </ItemTemplate>
                                                </asp:Repeater>
                                            </ul>
                                        </div>
                                    </div>
                                </div>
                            </td>
                        </tr>
                        <tr height="30" valign="bottom">
                            <td>
                                <div id="homeBottom">
                                    <div class="left">
                                    </div>
                                    <div class="right">
                                    </div>
                                </div>
                            </td>
                        </tr>
                    </table>
                </td>
                <td style="width: 8px; height: 100%; background-color: #353c44;">
                </td>
            </tr>
        </table>
    </div>
</body>
</html>
